<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="ftm" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>修改人员</title>
	</head>
	
	<body><center>
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td width="17" valign="top" background="images/mail_leftbg.gif">
					<img src="images/left-top-right.gif" width="17" height="29" />
				</td>
				<td valign="top" background="images/content-bg.gif">
					<table width="100%" height="31" border="0" cellpadding="0"
						cellspacing="0" class="left_topbg" id="table2">
						<tr>
							<td height="31">
								<div class="titlebt">
									人员信息
								</div>
							</td>
						</tr>
					</table>
				</td>
				<td width="16" valign="top" background="images/mail_rightbg.gif">
					<img src="images/nav-right-bg.gif" width="16" height="29" />
				</td>
			</tr>
	</table>
			<div class="btwz">
			<br />
			<br /><br /><br />
							
						</div>
						<br />
						<s:form  method="post" action="chenhao/comfireeditemp.action"
							>
							<table width="50%" cellspacing="1" cellpadding="3" border="0" bgcolor="#6298e1">
								<tr>
								    <td width="40" nowrap="" height="25"  align="center">
										
									<br /></td>
									<td width="40" nowrap="" height="25"  align="center">
									      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;修改人员信息
									</td>
								
									
								</tr>
								<input type="hidden" name="emp.uid" value="${emp.uid}"/>
								<tr bgcolor="#ebf2f9" onmouseout="this.style.backgroundColor = ''" style="" onmouseover="this.style.backgroundColor = '#FFFFFF'">
									<td nowrap="" height="30" align="center">
										&nbsp;&nbsp;&nbsp;&nbsp;姓名 ：
									</td>
									<td nowrap="" height="30" align="center" valign="middle">
									 <input type="text" name="emp.uname" value="${emp.uname}" style="border:0;background:transparent; font-size:18px;height:1em;padding: 0px 0px 0px 130px;" />
									</td>
									
								</tr>
									<tr bgcolor="#ebf2f9" onmouseout="this.style.backgroundColor = ''" style="" onmouseover="this.style.backgroundColor = '#FFFFFF'">
									<td nowrap="" height="30" align="center">
										&nbsp;&nbsp;&nbsp;&nbsp;密码 ：
									</td>
									<td nowrap="" height="30" align="center" valign="middle">
									 <input type="password" name="emp.upass" value="${emp.upass} "style="border:0;background:transparent; font-size:18px;height:1em;padding: 0px 0px 0px 130px;" />
									</td>
									
								</tr>
							    	<tr bgcolor="#ebf2f9" onmouseout="this.style.backgroundColor = ''" style="" onmouseover="this.style.backgroundColor = '#FFFFFF'">
									<td nowrap="" height="30" align="center">
										&nbsp;&nbsp;&nbsp;&nbsp;所属类型 ：
									</td>
									<td nowrap="" height="30" align="center" valign="middle">
									 <select name="emp.utype" style="border:0;background:transparent; font-size:18px;height:1em;padding: 0px 0px 0px 130px;" >
									        <c:if test="${emp.utype==1}">
									       <option value="1" >普通管理员</option>
									       <option value="2" >普通员工</option>
									       </c:if>
									        <c:if test="${emp.utype==2}">
									        <option value="2" >普通员工</option>
									       <option value="1" >普通管理员</option>
									       </c:if>
				     	                 </select>
									</td>
									
								<tr bgcolor="#ebf2f9" onmouseout="this.style.backgroundColor = ''" style="" onmouseover="this.style.backgroundColor = '#FFFFFF'">
									<td nowrap="" height="30" align="center">
										&nbsp;&nbsp;&nbsp;&nbsp; 电话：
									</td>
									<td nowrap="" height="30" align="center">
									 <input type="text" name="emp.mobile" value="${emp.mobile}" style="border:0;background:transparent; font-size:18px;height:1em;padding: 0px 10px 0px 130px;" "/>
									</td>
									
								</tr>
                                <tr bgcolor="#ebf2f9" onmouseout="this.style.backgroundColor = ''" style="" onmouseover="this.style.backgroundColor = '#FFFFFF'">
									<td nowrap="" height="30" align="center">
										&nbsp;&nbsp;&nbsp;&nbsp; 邮箱：
									</td>
									<td nowrap="" height="30" align="center">
									 <input type="text" name="emp.mail" value="${emp.mail}" style="border:0;background:transparent; font-size:18px;height:1em;padding: 0px 10px 0px 130px;" "/>
									</td>
									
								</tr>
								</tr>
								<tr bgcolor="#ebf2f9" onmouseout="this.style.backgroundColor = ''" style="" onmouseover="this.style.backgroundColor = '#FFFFFF'">
									<td nowrap="" height="30" align="center">
										&nbsp;&nbsp;&nbsp;&nbsp;所属部门：
									</td>
							
									<td nowrap="" height="30" align="center" >
									  <select name="deptid" style="border:0;background:transparent; font-size:18px;width:80px;height:20px;" >
									     
										  <s:iterator value="deptlist" var="list">
										     <c:choose>
										    <c:when test="${list.deptid==emp.UDept.deptid}">
									        <option value="${list.deptid }" selected>${list.deptname}</option>
									        </c:when>
									        <c:otherwise>
									        <option value="${list.deptid }">${list.deptname}</option>
									        </c:otherwise>
									        </c:choose>
				     	                 </s:iterator>
					                    </select>
										
									</td>
					            
								</tr>
                                 <tr bgcolor="#ebf2f9" onmouseout="this.style.backgroundColor = ''" style="" onmouseover="this.style.backgroundColor = '#FFFFFF'">
									<td nowrap="" height="30" align="center">
										&nbsp;&nbsp;&nbsp;&nbsp; 手机：
									</td>
									<td nowrap="" height="30" align="center">
									 <input type="text" name="emp.telephone" value="${emp.telephone}" style="border:0;background:transparent; font-size:18px;height:1em;padding: 0px 10px 0px 130px;" "/>
									</td>
									
								</tr>

								<tr bgcolor="#ebf2f9" onmouseout="this.style.backgroundColor = ''" style="" onmouseover="this.style.backgroundColor = '#FFFFFF'">
									<td nowrap="" height="30" align="center">
										&nbsp;&nbsp;&nbsp;&nbsp; 性别：
									</td>
									<td nowrap="" height="30" align="center">
									 <select name="emp.sex" style="border:0;background:transparent; font-size:18px;width:80px;height:20px;" >
									     <c:if test="${emp.sex==0}">
									       <option value="0" >男</option>
									       <option value="1" >女</option>
									       </c:if>
									         <c:if test="${emp.sex==1}">
									        <option value="1" >女</option>
									       <option value="0" >男</option>
									       </c:if>
					                    </select>
									</td>
									
								</tr>
								<tr bgcolor="#ebf2f9" onmouseout="this.style.backgroundColor = ''" style="" onmouseover="this.style.backgroundColor = '#FFFFFF'">
									<td nowrap="" height="30" align="center">
										&nbsp;&nbsp;&nbsp;&nbsp; 出生年月：
									</td>
									<td nowrap="" height="30" align="center">
								 <input type="text" name="emp.birthday"  value="${emp.birthday}" style="border:0;background:transparent; font-size:18px;height:1em;padding: 0px 10px 0px 130px;"/>
									</td>
									
								</tr>
								<tr bgcolor="#ebf2f9" onmouseout="this.style.backgroundColor = ''" style="" onmouseover="this.style.backgroundColor = '#FFFFFF'">
									<td nowrap="" height="30" align="center">
										&nbsp;&nbsp;&nbsp;&nbsp;备注：
									</td>
									<td nowrap="" height="30" align="center">
									 <input type="text" name="emp.usernote" value="${emp.usernote} "style="border:0;background:transparent; font-size:18px;height:1em;padding: 0px 10px 0px 130px;" "/>
									</td>
									<input type="hidden" name="emp.isdelete" value="${emp.isdelete}">
								</tr>
							</table>
							<p align="center">
								<input type="submit" class="button" value="确认修改 &raquo;" />
								&nbsp;
							</p>
						</s:form>
						<br />
						<br />
			            <br />
			            <br />
			<div style="margin-left:180px">
		<table width="99%" align="center">
			<tr>
				<td class="left_txt">
								<img src="images/icon-mail2.gif" width="16" height="11">
								&nbsp;&nbsp;&nbsp;&nbsp;邮箱：liuyongwade@gmail.com
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								组员：刘勇&nbsp;&nbsp;程署&nbsp;&nbsp;陈皓&nbsp;&nbsp;席晓明&nbsp;&nbsp;刘广云
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;版权所有 侵权必究
							</td>
						</tr>
						</table>
						</div>
					</center>
	</body>
</html>
	